package com.project.bean;

import java.time.LocalDate;

public class ClassBean {
    //班级id
    private Integer classId;
    //班名
    private String className;
    //开班时间
    private LocalDate classDate;
    //带班老师
    private String classTeacher;

    public ClassBean() {
    }

    public ClassBean(String className, LocalDate classDate, String classTeacher) {
        this.className = className;
        this.classDate = classDate;
        this.classTeacher = classTeacher;
    }

    public ClassBean(Integer classId) {
        this.classId = classId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public LocalDate getClassDate() {
        return classDate;
    }

    public void setClassDate(LocalDate classDate) {
        this.classDate = classDate;
    }

    public String getClassTeacher() {
        return classTeacher;
    }

    public void setClassTeacher(String classTeacher) {
        this.classTeacher = classTeacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classDate=" + classDate +
                ", classTeacher='" + classTeacher + '\'' +
                '}';
    }
}
